package com.twu.biblioteca;

/**
 * Created by tinamt on 7/23/14.
 */
public class ViewBorrowedItems implements Action {
    private Library library;

    ViewBorrowedItems(Library library) {
        this.library = library;
    }

    public void execute() {
        System.out.println("Customer ID\t\tItem Id");
        String checkedOutList = library.seeCheckedOutList();
        System.out.println(checkedOutList);
    }

    @Override
    public String printActionName() {
        return "View Borrowed Items";
    }
}
